import time

setGlobalDuration(15)

beginPythonInst(voice=1)
playSound()
endPythonInst()

proc = startCsound()


time.sleep(1)
sendEvent(voice=1, dict={}, process=proc)
time.sleep(3)
sendEvent(voice=1, dict={}, process=proc)
